<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>set props</title>
    <script src="./static/ofa.min.js"></script>
    <l-m src="./component/button_demo.html"></l-m>
</head>
<body>
    <div id="target"></div>
    <div id="target2"></div>
    <div id="target3"></div>
    <input type="text" id="target4" placeholder="target4" />
    <button id="btn">按钮</button>
    <simple-button>i am a button</simple-button>
    <script>
        $("#target").text = "hello world";
        $("#target2").html = "<span style='color:red;'>hello world 2</span>";
        $("#target3").html = $("#target2").text;
        $("#target4").value = "hello world";
        $("#btn").on("click",()=>{
            $("#target").text = "你好";
        })

    </script>
</body>
</html>
